import request from '@/utils/request'

// 查询待处理服务列表
export function listService_wait(query) {
  return request({
    url: '/service_wait/service_wait/list',
    method: 'get',
    params: query
  })
}

// 查询待处理服务详细
export function getService_wait(id) {
  return request({
    url: '/service_wait/service_wait/' + id,
    method: 'get'
  })
}

// 新增待处理服务
export function addService_wait(data) {
  return request({
    url: '/service_wait/service_wait',
    method: 'post',
    data: data
  })
}

// 修改待处理服务
export function updateService_wait(data) {
  return request({
    url: '/service_wait/service_wait',
    method: 'put',
    data: data
  })
}

// 删除待处理服务
export function delService_wait(id) {
  return request({
    url: '/service_wait/service_wait/' + id,
    method: 'delete'
  })
}
